package com.fastwire.carriere.controller;

import java.util.Date;
import java.util.List;

import com.fastwire.carriere.common.exception.ResourceException;
import com.fastwire.carriere.dao.DAOException;
import com.fastwire.carriere.pegasus.vo.PegasusOrderDetailsVo;
import com.fastwire.carriere.serviceorder.vo.OrderSearchCriteriaVo;
import com.fastwire.carriere.serviceorder.vo.ServiceOrderVo;

/*
 * Created by Jun on 20120116
 */
/**
 * The Class ServiceOrderController.
 */
public interface ServiceOrderController {

	public void createServiceOrder(PegasusOrderDetailsVo orderDetailsVo)
			throws DAOException, ResourceException;

	public List<ServiceOrderVo> searchServiceOrder(
			OrderSearchCriteriaVo searchCriteriaVo) throws DAOException;

	public void createServiceOrder(ServiceOrderVo serviceOrderVo)
			throws DAOException, ResourceException;

	public void updateServiceOrder(ServiceOrderVo serviceOrderVo)
			throws DAOException, ResourceException;

	public void processPendingServiceOrders(Date date) throws DAOException,
			ResourceException;

	public void performManualEBOD(ServiceOrderVo serviceOrderVo)
			throws DAOException, ResourceException;

}